﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckAlive.aspx.cs" Inherits="iEN.CheckAlive" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CheckTime</title>
    <!-- 改用timer控制
    <script language ="javascript" >
        setTimeout("self.location.reload();", 10000);
    </script>
    !-->
</head>
<body bgcolor = "Black">
    <form id="form1" runat="server">
    <div align="right">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:label id="lblLoginName" runat="server" ForeColor="White" Font-Size="9pt">登入者：</asp:label>
                <asp:label id="lbCountDown" runat="server" ForeColor="White" Font-Size="9pt">自動登出倒數</asp:label>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="TimerCountDown" EventName="Tick" />
            </Triggers>
        </asp:UpdatePanel>
        <asp:Timer ID="TimerCountDown" runat="server" Interval="1000" ontick="TimerCountDown_Tick"> </asp:Timer>
        <asp:Timer ID="timerCheck" runat="server" ontick="timerCheck_Tick">
        </asp:Timer>
    </div>
    </form>
</body>
</html>
